package com.tledu.equipment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 参试设备对象 equipment_info
 * 
 * @author ruoyi
 * @date 2024-08-29
 */
public class EquipmentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 部门id */
    private Long deptId;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String model;

    /** 库房id */
    @Excel(name = "库房id")
    private Long storeId;

    /** 附件 */
    private String attach;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Long equipmentStatus;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private Long useStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 删除标志(0代表存在 2代表删除) */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setAttach(String attach) 
    {
        this.attach = attach;
    }

    public String getAttach() 
    {
        return attach;
    }
    public void setEquipmentStatus(Long equipmentStatus) 
    {
        this.equipmentStatus = equipmentStatus;
    }

    public Long getEquipmentStatus() 
    {
        return equipmentStatus;
    }
    public void setUseStatus(Long useStatus) 
    {
        this.useStatus = useStatus;
    }

    public Long getUseStatus() 
    {
        return useStatus;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("model", getModel())
            .append("storeId", getStoreId())
            .append("attach", getAttach())
            .append("remark", getRemark())
            .append("equipmentStatus", getEquipmentStatus())
            .append("useStatus", getUseStatus())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
